"use strict";
var page = require('webpage').create();
//示例
page.open('http://localhost/echarts/line.html', function () {   
	
	window.setTimeout(function() {
    		page.render('line.png');
			phantom.exit();
    }, 3000);

});